]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Telepathy: Set empathy-chat as prefered handler when delegating channels
authorXavier Claessens <xavier.claessens@collabora.co.uk>
Wed, 17 Oct 2012 13:36:25 +0000 (15:36 +0200)
committerXavier Claessens <xavier.claessens@collabora.co.uk>
Tue, 23 Oct 2012 10:37:05 +0000 (12:37 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=686296

js/ui/components/telepathyClient.js

index e3e11f3d58dd46752a3a92c66f0a1b0d6516a65c..a487352e4c6cfb3bde632fa6b6f82367f282c774 100644 (file)
@@ -555,7 +555,9 @@ const ChatSource = new Lang.Class({
     open: function(notification) {
           if (this._client.is_handling_channel(this._channel)) {
               // We are handling the channel, try to pass it to Empathy
-              this._client.delegate_channels_async([this._channel], global.get_current_time(), '', null);
+              this._client.delegate_channels_async([this._channel],
+                  global.get_current_time(),
+                  'org.freedesktop.Telepathy.Client.Empathy.Chat', null);
           }
           else {
               // We are not the handler, just ask to present the channel